package com.link.database.dao;

import com.link.database.entity.DBChannel;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface DBChannelDao {
    int insert(DBChannel dbChannel);
    int update(DBChannel dbChannel);
    int deleteById(long id);
    DBChannel selectById(long id);
    List<DBChannel> selectAll();
    List<DBChannel> selectByRegionId(long regionId);
}